# 调试工具
import pdb

from functools import reduce


def add_x(x):
    return x+x


item = [1,2,3,4,5,6,7,8,9]
xx = map(lambda x: add_x(x),item)
print(list(xx))



yy = filter(lambda x: x<5,item)
print(list(yy))


zz = reduce ((lambda x,y: x**y),item)
print(zz)

print(1%2)